package com.ruoyi.system.service;

import com.dtflys.forest.annotation.*;
import com.ruoyi.system.domain.Forest.grm.GRMData;
import com.ruoyi.system.interceptor.GRMAuthInterceptor;
import com.ruoyi.system.interceptor.GrmLoadDataInterceptor;

@BaseRequest(
        interceptor = GrmLoadDataInterceptor.class,
        headers = {"Connection:keep-alive"},
        contentType = "text/plain"
)
public interface GRMLoadDataClient {


    @Request(
            type = "post",
            data = "9\n二次侧高区供水温度\n二次侧高区回水温度\n二次侧低区供水温度\n二次侧低区回水温度\n一次网供热总功率\n室外温度\n累积供热量GJ\n热泵电表总有功功率\n蓄热水箱温度1"
    )
    GRMData getData();

    @Post
    GRMData refreshData();
}
